home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
bin
/
xtras
/
ibmgcc.mak
< prev
next >
Wrap
Makefile
|
1994-09-11
|
5KB
|
160 lines
# Makefile for Persistence of Vision Raytracer
# This file is released to the public domain.
# For use with DJ's GCC on the IBM-PC
#
# MAKE Macros and Such...
#
CC =gcc
OBJ =o
MACHINE_OBJ = ibm.$(OBJ) # gcc.$(OBJ) if your GCC does not support INTs
LD =gcc
#***************************************************************
#*
#* IBM Options
#*
#***************************************************************
# Uncomment for maximal optimization...
# -m486 is optional i486 coding optimization,
# but -funroll-loops can sometimes break DJGCC...
# -O3 works with GCC 2.6.0 and up. If you don't have it
# just use -O2 for maximal optimization.
#
CFLAGS = -DGCCDOS
MORECFLAGS = -O3 -funroll-loops -fomit-frame-pointer
# Uncomment for full optimization
#
#CFLAGS = -O -fomit-frame-pointer -DGCCDOS -fstrength-reduce -finline-functions
#MORECFLAGS =
# Uncomment for debugging (no optimization)
#CFLAGS =-Wall -DGCCDOS
#MORECFLAGS =
# NDMAKE's implicit rules for making a .OBJ file from a .C file...
#
.c.$(OBJ) :
$(CC) $(CFLAGS) $(MORECFLAGS) -c $*.c
# Generic "Unix" MAKE's implicit rules for making an .OBJ file from a .C file
#
#*.obj : *.c
# $(CC) $(CFLAGS) $*
#***************************************************************
#*
#* Common Stuff
#*
#***************************************************************
F0 = addon0.$(OBJ) addon1.$(OBJ) addon2.$(OBJ) addon3.$(OBJ)
F1 = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ)
F2 = camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ)
F3 = dump.$(OBJ) express.$(OBJ) gifdecod.$(OBJ) gif.$(OBJ) hfield.$(OBJ)
F4 = iff.$(OBJ) image.$(OBJ) lighting.$(OBJ) matrices.$(OBJ) normal.$(OBJ)
F5 = objects.$(OBJ) parse.$(OBJ) pigment.$(OBJ) planes.$(OBJ) point.$(OBJ)
F6 = poly.$(OBJ) quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ)
F7 = spheres.$(OBJ) targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ)
F8 = triangle.$(OBJ) txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
PVOBJS = $(F0) $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8)
#
# DJGCC Linkage...
#
povray.exe : $(PVOBJS)
$(LD) -o ftpov @ibmgcc.lnk
strip ftpov
coff2exe ftpov
#
# Specific module/header dependencies for PV-Ray:
#
addon0.$(OBJ) : addon0.c addon.h povproto.h frame.h vector.h config.h
addon1.$(OBJ) : addon1.c addon.h povproto.h frame.h vector.h config.h
addon2.$(OBJ) : addon2.c addon.h povproto.h frame.h vector.h config.h
addon3.$(OBJ) : addon3.c addon.h povproto.h frame.h vector.h config.h
povray.$(OBJ) : povray.c addon.h povproto.h frame.h vector.h config.h
bezier.$(OBJ) : bezier.c povproto.h frame.h vector.h config.h
blob.$(OBJ) : blob.c povproto.h frame.h config.h
bound.$(OBJ) : bound.c povproto.h frame.h vector.h config.h
boxes.$(OBJ) : boxes.c povproto.h frame.h config.h
camera.$(OBJ) : camera.c povproto.h frame.h vector.h config.h
colour.$(OBJ) : colour.c povproto.h frame.h config.h
cones.$(OBJ) : cones.c povproto.h frame.h vector.h config.h
csg.$(OBJ) : csg.c addon.h povproto.h frame.h vector.h config.h
discs.$(OBJ) : discs.c povproto.h frame.h vector.h config.h
dump.$(OBJ) : dump.c povproto.h frame.h
express.$(OBJ) : express.c povproto.h frame.h config.h parse.h
gifdecod.$(OBJ) : gifdecod.c povproto.h frame.h config.h
gif.$(OBJ) : gif.c povproto.h frame.h config.h
hfield.$(OBJ) : hfield.c povproto.h frame.h vector.h config.h
ibm.$(OBJ) : ibm.c povproto.h frame.h config.h
iff.$(OBJ) : iff.c povproto.h frame.h config.h
image.$(OBJ) : image.c povproto.h frame.h vector.h config.h texture.h
lighting.$(OBJ) : lighting.c addon.h povproto.h frame.h vector.h config.h
matrices.$(OBJ) : matrices.c povproto.h frame.h vector.h config.h
normal.$(OBJ) : normal.c povproto.h frame.h vector.h config.h texture.h
objects.$(OBJ) : objects.c povproto.h frame.h vector.h config.h
parse.$(OBJ) : parse.c povproto.h frame.h config.h parse.h
pigment.$(OBJ) : pigment.c povproto.h frame.h vector.h config.h texture.h
planes.$(OBJ) : planes.c povproto.h frame.h vector.h config.h
poly.$(OBJ) : poly.c povproto.h frame.h vector.h config.h
quadrics.$(OBJ) : quadrics.c povproto.h frame.h vector.h config.h
raw.$(OBJ) : raw.c povproto.h frame.h config.h
ray.$(OBJ) : ray.c povproto.h frame.h vector.h config.h
render.$(OBJ) : render.c povproto.h frame.h vector.h config.h
spheres.$(OBJ) : spheres.c povproto.h frame.h vector.h config.h
targa.$(OBJ) : targa.c povproto.h frame.h config.h
texture.$(OBJ) : texture.c povproto.h frame.h vector.h config.h texture.h
tokenize.$(OBJ) : tokenize.c povproto.h frame.h config.h
triangle.$(OBJ) : triangle.c povproto.h frame.h vector.h config.h
txttest.$(OBJ) : txttest.c povproto.h frame.h vector.h config.h texture.h
vect.$(OBJ) : vect.c povproto.h frame.h config.h